package client;

import interfaces.IGaugeMonotonic;
import interfaces.IGaugeVariant;
import interfaces.IGaugeClient;
import it.unibo.is.interfaces.*;

/**
 * @author Stefano&Davide
 * @version 1.0
 */

public class VehicleSimulator implements IGaugeClient {

	protected IBasicEnvAwt env = null;
	protected IGaugeVariant gaugeVariant;
	protected IGaugeMonotonic ckm; 
	
	public VehicleSimulator(IBasicEnvAwt env){
		this.env=env;
	}
	
	void configureTheSystem(){
		env.writeOnStatusBar("ContaKm2012"+" | working..",14);
	}

	@Override
	public void startToRun(IGaugeMonotonic gaugeMonotonic)
	  throws Exception{
		ckm=gaugeMonotonic;
		configureTheSystem();
	}

	@Override
	public void startToRun(IGaugeVariant gauge) throws Exception{ }
}//end VehicleSimulator